package com.bobby.common;

/**
 * Created by wenjunpei
 * in 2021/10/22 9:20.
 */
public class Test1920 {
    public static void main(String[] args) {

    }
    public int[] buildArray(int[] nums) {
        int[] target = new int[nums.length];
        for (int i = 0; i < target.length; i++) {
            target[i] = nums[nums[i]];
        }
        return target;
    }
}
